.class Lcom/example/m6wmr/WaimaiActivity$15;
.super Ljava/lang/Thread;
.source "WaimaiActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/WaimaiActivity;->getShopSource()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/WaimaiActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/WaimaiActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    .line 757
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 20

    .prologue
    .line 759
    invoke-super/range {p0 .. p0}, Ljava/lang/Thread;->run()V

    .line 760
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v17, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->temshopls:Ljava/util/List;
    invoke-static/range {v17 .. v17}, Lcom/example/m6wmr/WaimaiActivity;->access$6(Lcom/example/m6wmr/WaimaiActivity;)Ljava/util/List;

    move-result-object v17

    invoke-interface/range {v17 .. v17}, Ljava/util/List;->clear()V

    .line 762
    new-instance v12, Landroid/os/Message;

    invoke-direct {v12}, Landroid/os/Message;-><init>()V

    .line 769
    .local v12, "msg":Landroid/os/Message;
    new-instance v17, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v18

    invoke-static/range {v18 .. v18}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v18

    invoke-direct/range {v17 .. v18}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 771
    const-string v18, "/index.php?ctrl=app&action=newshop&lat="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 772
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lmyapp/MyApp;->getLat()Ljava/lang/String;

    move-result-object v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&lng="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    move-object/from16 v0, v18

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity;->m:Lmyapp/MyApp;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Lmyapp/MyApp;->getLng()Ljava/lang/String;

    move-result-object v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&limitcosttype="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 773
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->pscostvalue:I
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$24(Lcom/example/m6wmr/WaimaiActivity;)I

    move-result v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&ordertype="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->ordervalue:I
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$25(Lcom/example/m6wmr/WaimaiActivity;)I

    move-result v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&is_waimai=1"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&searchvalue="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->searchvalue:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$26(Lcom/example/m6wmr/WaimaiActivity;)Ljava/lang/String;

    move-result-object v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 774
    const-string v18, "&shoptype="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->shoptypevalue:I
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$27(Lcom/example/m6wmr/WaimaiActivity;)I

    move-result v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&page="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->page:I
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$1(Lcom/example/m6wmr/WaimaiActivity;)I

    move-result v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v17

    const-string v18, "&areaid="

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v18, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->areaid:Ljava/lang/String;
    invoke-static/range {v18 .. v18}, Lcom/example/m6wmr/WaimaiActivity;->access$28(Lcom/example/m6wmr/WaimaiActivity;)Ljava/lang/String;

    move-result-object v18

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 775
    const-string v18, "&datatype=json"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    .line 769
    invoke-virtual/range {v17 .. v17}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v16

    .line 778
    .local v16, "url":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity;->m:Lmyapp/MyApp;

    move-object/from16 v17, v0

    invoke-static/range {v16 .. v17}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v15

    .line 779
    .local v15, "str":Ljava/lang/String;
    const-string v17, ">>>>getShopSource>1>>>>>>>"

    move-object/from16 v0, v17

    move-object/from16 v1, v16

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 782
    :try_start_0
    new-instance v10, Lorg/json/JSONObject;

    invoke-direct {v10, v15}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 783
    .local v10, "json":Lorg/json/JSONObject;
    const-string v17, "error"

    move-object/from16 v0, v17

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    const-string v18, "true"

    invoke-virtual/range {v17 .. v18}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_1

    .line 896
    .end local v10    # "json":Lorg/json/JSONObject;
    :cond_0
    :goto_0
    return-void

    .line 787
    .restart local v10    # "json":Lorg/json/JSONObject;
    :cond_1
    const-string v17, "msg"

    move-object/from16 v0, v17

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v17

    if-nez v17, :cond_0

    .line 798
    const-string v17, "msg"

    move-object/from16 v0, v17

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v9

    .line 799
    .local v9, "jarray":Lorg/json/JSONArray;
    invoke-virtual {v9}, Lorg/json/JSONArray;->length()I

    move-result v17

    const/16 v18, 0x1

    move/from16 v0, v17

    move/from16 v1, v18

    if-ge v0, v1, :cond_2

    .line 802
    const/16 v17, 0x27

    move/from16 v0, v17

    iput v0, v12, Landroid/os/Message;->arg1:I

    .line 803
    sget-object v17, Lcom/example/m6wmr/WaimaiActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v17

    invoke-virtual {v0, v12}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 889
    .end local v9    # "jarray":Lorg/json/JSONArray;
    .end local v10    # "json":Lorg/json/JSONObject;
    :catch_0
    move-exception v6

    .line 891
    .local v6, "e":Lorg/json/JSONException;
    invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    .line 806
    .end local v6    # "e":Lorg/json/JSONException;
    .restart local v9    # "jarray":Lorg/json/JSONArray;
    .restart local v10    # "json":Lorg/json/JSONObject;
    :cond_2
    const/4 v7, 0x0

    .local v7, "i":I
    :goto_1
    :try_start_1
    invoke-virtual {v9}, Lorg/json/JSONArray;->length()I

    move-result v17

    move/from16 v0, v17

    if-lt v7, v0, :cond_3

    .line 887
    const/16 v17, 0x3

    move/from16 v0, v17

    iput v0, v12, Landroid/os/Message;->arg1:I

    .line 888
    sget-object v17, Lcom/example/m6wmr/WaimaiActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v17

    invoke-virtual {v0, v12}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 807
    :cond_3
    new-instance v4, Lbean/ShopBean;

    invoke-direct {v4}, Lbean/ShopBean;-><init>()V

    .line 808
    .local v4, "bb":Lbean/ShopBean;
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 809
    const-string v18, "shopid"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    .line 808
    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopId(Ljava/lang/String;)V

    .line 811
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 812
    const-string v18, "shopname"

    .line 811
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopName(Ljava/lang/String;)V

    .line 813
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "juli"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setJuLi(Ljava/lang/String;)V

    .line 815
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 816
    const-string v18, "limitcost"

    .line 815
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setLimitCost(Ljava/lang/String;)V

    .line 818
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 819
    const-string v18, "sellcount"

    .line 818
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setSellcount(Ljava/lang/String;)V

    .line 820
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 821
    const-string v18, "shopimg"

    .line 820
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopImg(Ljava/lang/String;)V

    .line 822
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 823
    const-string v18, "opentype"

    .line 822
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setOpenType(Ljava/lang/String;)V

    .line 824
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 825
    const-string v18, "sendtype"

    .line 824
    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setsendtype(Ljava/lang/String;)V

    .line 826
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 827
    const-string v18, "pscost"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    .line 826
    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setpscost(Ljava/lang/String;)V

    .line 828
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    .line 829
    const-string v18, "canps"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    .line 828
    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setcanps(Ljava/lang/String;)V

    .line 831
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "starttime"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setstarttime(Ljava/lang/String;)V

    .line 832
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "arrivetime"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setarrivetime(Ljava/lang/String;)V

    .line 833
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "pstime"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    if-eqz v17, :cond_5

    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "pstime"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    :goto_2
    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setPstime(Ljava/lang/String;)V

    .line 834
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "address"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setaddress(Ljava/lang/String;)V

    .line 835
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "point"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setPoint(Ljava/lang/String;)V

    .line 837
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "shoptype"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShoptype(Ljava/lang/String;)V

    .line 843
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "cxinfo"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    .line 845
    .local v3, "arraycx":Lorg/json/JSONArray;
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 847
    .local v2, "activityBeans":Ljava/util/List;, "Ljava/util/List<Lbean/ShopdetActivityBean;>;"
    if-eqz v3, :cond_4

    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v17

    if-lez v17, :cond_4

    .line 849
    const/4 v8, 0x0

    .local v8, "j":I
    :goto_3
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v17

    move/from16 v0, v17

    if-lt v8, v0, :cond_6

    .line 881
    .end local v8    # "j":I
    :cond_4
    invoke-virtual {v4, v2}, Lbean/ShopBean;->setActivityBeans(Ljava/util/List;)V

    .line 883
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v17, v0

    # getter for: Lcom/example/m6wmr/WaimaiActivity;->temshopls:Ljava/util/List;
    invoke-static/range {v17 .. v17}, Lcom/example/m6wmr/WaimaiActivity;->access$6(Lcom/example/m6wmr/WaimaiActivity;)Ljava/util/List;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 806
    add-int/lit8 v7, v7, 0x1

    goto/16 :goto_1

    .line 833
    .end local v2    # "activityBeans":Ljava/util/List;, "Ljava/util/List<Lbean/ShopdetActivityBean;>;"
    .end local v3    # "arraycx":Lorg/json/JSONArray;
    :cond_5
    const-string v17, ""

    goto :goto_2

    .line 851
    .restart local v2    # "activityBeans":Ljava/util/List;, "Ljava/util/List<Lbean/ShopdetActivityBean;>;"
    .restart local v3    # "arraycx":Lorg/json/JSONArray;
    .restart local v8    # "j":I
    :cond_6
    new-instance v14, Lbean/ShopdetActivityBean;

    invoke-direct {v14}, Lbean/ShopdetActivityBean;-><init>()V

    .line 853
    .local v14, "shopdetActivityBean":Lbean/ShopdetActivityBean;
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "controltype"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 854
    .local v5, "checketypeString":Ljava/lang/String;
    const-string v17, "1"

    move-object/from16 v0, v17

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_9

    .line 855
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "name"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsDiscount(Ljava/lang/String;)V

    .line 867
    :cond_7
    :goto_4
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "name"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v14, v0}, Lbean/ShopdetActivityBean;->setName(Ljava/lang/String;)V

    .line 868
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "imgurl"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v14, v0}, Lbean/ShopdetActivityBean;->setMigurl(Ljava/lang/String;)V

    .line 869
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/WaimaiActivity$15;->this$0:Lcom/example/m6wmr/WaimaiActivity;

    move-object/from16 v17, v0

    const-string v18, "Appset"

    .line 870
    const/16 v19, 0x0

    .line 869
    invoke-virtual/range {v17 .. v19}, Lcom/example/m6wmr/WaimaiActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v13

    .line 871
    .local v13, "preferences1":Landroid/content/SharedPreferences;
    const-string v17, "mobilemodule"

    const-string v18, "0"

    move-object/from16 v0, v17

    move-object/from16 v1, v18

    invoke-interface {v13, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    if-eqz v17, :cond_c

    const-string v17, "mobilemodule"

    const-string v18, "0"

    move-object/from16 v0, v17

    move-object/from16 v1, v18

    invoke-interface {v13, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    .line 873
    .local v11, "mobilemodule":Ljava/lang/String;
    :goto_5
    const-string v17, "2"

    move-object/from16 v0, v17

    invoke-virtual {v11, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_8

    .line 874
    invoke-interface {v2, v14}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 849
    :cond_8
    add-int/lit8 v8, v8, 0x1

    goto/16 :goto_3

    .line 857
    .end local v11    # "mobilemodule":Ljava/lang/String;
    .end local v13    # "preferences1":Landroid/content/SharedPreferences;
    :cond_9
    const-string v17, "2"

    move-object/from16 v0, v17

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_a

    .line 858
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "name"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIs_netpay(Ljava/lang/String;)V

    goto :goto_4

    .line 859
    :cond_a
    const-string v17, "3"

    move-object/from16 v0, v17

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_b

    .line 860
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "name"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsSubtract(Ljava/lang/String;)V

    goto/16 :goto_4

    .line 861
    :cond_b
    const-string v17, "4"

    move-object/from16 v0, v17

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v17

    if-eqz v17, :cond_7

    .line 862
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v17

    const-string v18, "name"

    invoke-virtual/range {v17 .. v18}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v17

    move-object/from16 v0, v17

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsticket(Ljava/lang/String;)V

    goto/16 :goto_4

    .line 871
    .restart local v13    # "preferences1":Landroid/content/SharedPreferences;
    :cond_c
    const-string v11, ""
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_5
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 899
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 900
    monitor-exit p0

    return-void

    .line 899
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
